POV-Ray : Newsgroups : povray.general : Layered textures vs. sky_sphere : Layered textures vs. sky_sphere Server Time
5 Aug 2024 16:13:37 EDT (-0400)
  Layered textures vs. sky_sphere  
From: Tom York
Date: 20 Aug 2002 04:55:05
Message: <web.3d6202799e8fd800541c87100@news.povray.org>
I have three pigments applied to a sky_sphere in conventional fashion. Now,
I'd like to replace the sky_sphere with a sphere (suitably scaled), and
apply the three pigments to that. I've done this, converting the three
pigments to textures with

#declare Layer1P = pigment { ... }
#declare Layer2P = pigment { ... }
#declare Layer3P = pigment { ... }

#declare Layer1T = texture {
  pigment { Layer1P }
  finish { ambient 1 diffuse 0 }
 }

#declare Layer2T = texture {
  pigment { Layer2P }
  finish { ambient 1 diffuse 0 }
 }

#declare Layer3T = texture {
  pigment { Layer3P }
  finish { ambient 1 diffuse 0 }
 }

and then applying Layer1T...Layer3T to the sphere using

sphere {
    <0, 0, 0>,
    1

    hollow

    texture { Layer1T }
    texture { Layer2T }
    texture { Layer3T }

    scale 100000
   }

The problem is that this does not produce a background that looks like the
sky_sphere with its three pigments (Layer1P...Layer3P). I can see all three
layers in both cases, but the image contrast in the sky_sphere version is
far better than for the layered texture sphere version - the sphere version
looks very "flat" by comparison. Some layers use filter, transmit or both
in the pigment. How can I make the sphere version look like the sky_sphere
version?

Thanks,

Tom


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.